package com.py.warehouse.domain;

import java.math.BigDecimal;

import lombok.ToString;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 【请填写功能名称】对象 wh_inventory
 *
 * @author ruoyi
 * @date 2024-12-05
 */
@ToString
public class WhInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long inventoryQueryId;

    /** 商品编号 */
    @Excel(name = "商品编号")
    private String productCode;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String warehouseCode;

    /** 当前库存 */
    @Excel(name = "当前库存")
    private Long currentInventory;

    /** 库位编号 */
    @Excel(name = "库位编号")
    private String locationCode;

    /** 库存金额 */
    @Excel(name = "库存金额")
    private BigDecimal inventoryValue;

    /** 待入库 */
    @Excel(name = "待入库")
    private Long pendingIn;

    /** 待出库 */
    @Excel(name = "待出库")
    private Long pendingOut;

    /** 可用库存金额 */
    @Excel(name = "可用库存金额")
    private BigDecimal availableInventoryValue;

    /** 库存上限 */
    @Excel(name = "库存上限")
    private Long inventoryUpperLimit;

    /** 库存下限 */
    @Excel(name = "库存下限")
    private Long inventoryLowerLimit;

    @Transient
    private Product product;

    @Transient
    private BsWhLocation bsWhLocation;

    public void setInventoryQueryId(Long inventoryQueryId)
    {
        this.inventoryQueryId = inventoryQueryId;
    }

    public Long getInventoryQueryId()
    {
        return inventoryQueryId;
    }
    public void setProductCode(String productCode)
    {
        this.productCode = productCode;
    }

    public String getProductCode()
    {
        return productCode;
    }
    public void setWarehouseCode(String warehouseCode)
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode()
    {
        return warehouseCode;
    }
    public void setCurrentInventory(Long currentInventory)
    {
        this.currentInventory = currentInventory;
    }

    public Long getCurrentInventory()
    {
        return currentInventory;
    }
    public void setLocationCode(String locationCode)
    {
        this.locationCode = locationCode;
    }

    public String getLocationCode()
    {
        return locationCode;
    }
    public void setInventoryValue(BigDecimal inventoryValue)
    {
        this.inventoryValue = inventoryValue;
    }

    public BigDecimal getInventoryValue()
    {
        return inventoryValue;
    }
    public void setPendingIn(Long pendingIn)
    {
        this.pendingIn = pendingIn;
    }

    public Long getPendingIn()
    {
        return pendingIn;
    }
    public void setPendingOut(Long pendingOut)
    {
        this.pendingOut = pendingOut;
    }

    public Long getPendingOut()
    {
        return pendingOut;
    }
    public void setAvailableInventoryValue(BigDecimal availableInventoryValue)
    {
        this.availableInventoryValue = availableInventoryValue;
    }

    public BigDecimal getAvailableInventoryValue()
    {
        return availableInventoryValue;
    }
    public void setInventoryUpperLimit(Long inventoryUpperLimit)
    {
        this.inventoryUpperLimit = inventoryUpperLimit;
    }

    public Long getInventoryUpperLimit()
    {
        return inventoryUpperLimit;
    }
    public void setInventoryLowerLimit(Long inventoryLowerLimit)
    {
        this.inventoryLowerLimit = inventoryLowerLimit;
    }

    public Long getInventoryLowerLimit()
    {
        return inventoryLowerLimit;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public BsWhLocation getBsWhLocation() {
        return bsWhLocation;
    }

    public void setBsWhLocation(BsWhLocation bsWhLocation) {
        this.bsWhLocation = bsWhLocation;
    }
}
